package com.malljelly.study.dao.po;



import com.malljelly.study.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 支付信息
 */
@Entity
@Table(name = "pay_info")
@Data
public class PaymentInfo extends BaseEntity {

	@ApiModelProperty("支付类型 银联,微信,淘宝")
	private Long typeId;

	@ApiModelProperty("订单编号")
	private String orderId;

	@ApiModelProperty("第三方平台支付id")
	private String platformorderId;

	@ApiModelProperty("价格 以分为单位")
	private Long price;

	@ApiModelProperty("支付来源")
	private String source;

	@ApiModelProperty("支付状态 0待支付 1支付成功 2支付失败")
	private Integer state;

	@ApiModelProperty("支付报文(日志)")
	private String payMessage;

}
